package com.niit.TopOne.citytopone;


import com.niit.bean.CityTopOneBean;
import org.apache.hadoop.io.NullWritable;
import org.apache.hadoop.mapreduce.Reducer;

import java.io.IOException;


public class CityTopOneReducer extends Reducer<CityTopOneBean, NullWritable,CityTopOneBean,NullWritable> {

    @Override
    protected void reduce(CityTopOneBean key, Iterable<NullWritable> values, Context context) throws IOException, InterruptedException {
        context.write(key,NullWritable.get());
    }

}
